package com.easylinkin.linkappapi.rulecomponent.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.rulecomponent.entity.RuleComponentService;

/**
 * <p>
 * 配电房 服务类
 * </p>
 *
 * @author TongJie
 * @since 2020-08-05
 */
public interface RuleComponentServiceService extends IService<RuleComponentService> {


    void addRuleComponentService(RuleComponentService ruleComponentService);


    /**
     * 批量删除
     */
    void deleteBatch(List<String> ruleComponentServiceList);


    /**
     * 修改
     */
    void updateRuleComponentService(RuleComponentService ruleComponentService);

    /**
     * 根据条件查询配电房所有
     */
    List<RuleComponentService> getRuleComponentServices(RuleComponentService ruleComponentService);

    /**
     * 单条查询
     *
     * @param id 主键key
     * @return 查询结果
     */
    RuleComponentService getRuleComponentServiceById(String id);
    
    /**
     * 单条查询
     *
     * @param id 主键key
     * @return 查询结果
     */
    RuleComponentService getRuleComponentService(RuleComponentService ruleComponentService);

}
